package com.blrs.domain;

import java.util.Date;
import java.util.List;

import com.blrs.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("流程模板")
public class ProcessTemplate extends BaseEntity {

    @ApiModelProperty("主键ID")
    private String id;

    @ApiModelProperty("模板名称")
    private String templateName;

    @ApiModelProperty("关联产品ID")
    private String productIds;

    @ApiModelProperty("关联产品名称")
    private String productNames;

    /** 是否删除 */
    private String delFlag;

    /** 归属于 */
    private Long belongTo;

    @ApiModelProperty("创建人ID")
    private Long creationId;

    @ApiModelProperty("创建人名称")
    private String creationName;

    @ApiModelProperty("创建时间")
    private Date creationTime;

    @ApiModelProperty("更新人ID")
    private Long updateId;

    @ApiModelProperty("更新人名称")
    private String updateName;

    @ApiModelProperty("更新时间")
    private Date updateTime;

    private List<ProcessStage> stages;
    private String stageNames;

    public Long getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(Long belongTo) {
        this.belongTo = belongTo;
    }

    public List<ProcessStage> getStages() {
        return stages;
    }

    public void setStages(List<ProcessStage> stages) {
        this.stages = stages;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTemplateName() {
        return templateName;
    }

    public void setTemplateName(String templateName) {
        this.templateName = templateName;
    }

    public String getProductIds() {
        return productIds;
    }

    public void setProductIds(String productIds) {
        this.productIds = productIds;
    }

    public String getProductNames() {
        return productNames;
    }

    public void setProductNames(String productNames) {
        this.productNames = productNames;
    }

    public Long getCreationId() {
        return creationId;
    }

    public void setCreationId(Long creationId) {
        this.creationId = creationId;
    }

    public String getCreationName() {
        return creationName;
    }

    public String getStageNames() {
        return stageNames;
    }

    public void setStageNames(String stageNames) {
        this.stageNames = stageNames;
    }

    public void setCreationName(String creationName) {
        this.creationName = creationName;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Long getUpdateId() {
        return updateId;
    }

    public void setUpdateId(Long updateId) {
        this.updateId = updateId;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }
}